#include <stdio.h>
namespace RH_LEAK {
	int foo(const char* name) {
		FILE* f = fopen(name, "r");
		//...//
		if (some_error) return 1;
		//...//
		fclose(f);
		return 0;
	}
}